// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store'
import 'vant/lib/index.css'
Vue.config.productionTip = false
import { Form } from 'vant';
import { Field } from 'vant';
import { Button } from 'vant';
import { Image as VanImage } from 'vant';
import { Cell, CellGroup } from 'vant';
import { Dialog } from 'vant';
import { Toast } from 'vant';
import { Tab, Tabs } from 'vant';
import { Swipe, SwipeItem } from 'vant';
import { Lazyload } from 'vant';
import { Overlay } from 'vant';
import { Loading } from 'vant';
import { Slider } from 'vant';


Vue.use(Tab);
Vue.use(Tabs);
Vue.use(Overlay);
Vue.use(Loading)
Vue.use(Form);
Vue.use(Field);
Vue.use(Button);
Vue.use(VanImage);
Vue.use(Cell);
Vue.use(CellGroup);
Vue.use(Dialog);
Vue.use(Toast);
Vue.use(Swipe);
Vue.use(SwipeItem);
Vue.use(Lazyload);
Vue.use(Slider);
import api from "./http";
Vue.use(api)

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
